package org.starsource.forum.server.dao;

import org.starsource.forum.client.exception.DatabaseException;
import org.starsource.forum.client.exception.LoginFailNotFoundException;
import org.starsource.forum.server.domain.LoginFail;

/**
 * @author james
 *
 */
public interface LoginFailDao {
	public void save(LoginFail loginFail) throws DatabaseException;
	public void update(LoginFail loginFail) throws DatabaseException;
	public void delete(LoginFail loginFail) throws DatabaseException;
	
	public LoginFail getLoginFail(int id) throws LoginFailNotFoundException, DatabaseException;
}
